import queue


class MyQueue:
    def __init__(self):
        self.mylist = []

    def add_list(self, num):
        return self.mylist.append(num)

    def pop_list(self):
        return self.mylist.pop(0)

    def is_empty(self):
        return len(self.mylist) == 0

    def length(self):
        return len(self.mylist)



